package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;
import org.kealinghornets.nxtdroid.NXT.TouchSensor;

/**
 * Created by jychuah on 11/3/13.
 */
public class MyOtherOtherNXTThread extends NXTThread {

    public MyOtherOtherNXTThread() {
        setNXTThreadName("Eggroll 1");
    }

     public void run() {
         runMotor(PORT_A,-50);
         runMotor(PORT_B,50);
         wait(250);
         stopMotor(PORT_A);
         stopMotor(PORT_B);
         wait(20);
         runMotor(PORT_A, 100);
         runMotor(PORT_B,100);
         wait(4000);
         stopMotor(PORT_A);
         stopMotor(PORT_B);
         reset();

    }
}
